import UIKit

private let normalColor = UIColor.clearColor()
private let borderWidth: CGFloat = 1.5

class ImagePickerDefaultCell: ImagePickerBaseCell {
    
    var borderColor: UIColor?
    override var albumImage: AlbumImage? {
        willSet {
            imageView.image = newValue?.thumbnail
            self.layer.borderWidth = borderWidth
            self.layer.borderColor = newValue!.isSelected ? borderColor?.CGColor : normalColor.CGColor
        }
    }
}
